package com.yixun.lbx.service;

import com.yixun.lbx.entity.YxProBreedMedication;

import java.util.HashMap;
import java.util.List;

public interface BreedMedicationService {
    /**
     * @param map todo
     * @return java.lang.Integer
     * @apiNote getCount
     */
    Integer getCount(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return java.util.List<com.yixun.lbx.entity.YxProBreedMedication>
     * @apiNote getListByPage
     */
    List<YxProBreedMedication> getListByPage(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return int
     * @apiNote addMedication
     */
    int addMedication(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return int
     * @apiNote updateMedication
     */
    int updateMedication(HashMap<String, Object> map);

    /**
     * @param map todo
     * @return int
     * @apiNote deleteMedication
     */
    int deleteMedication(HashMap<String, Object> map);

    /**
     * @param medication todo
     * @return java.util.List<com.yixun.lbx.entity.YxProBreedMedication>
     * @apiNote getObjByArgs
     */
    List<YxProBreedMedication> getObjByArgs(YxProBreedMedication medication);

    /**
     * @param map todo
     * @return java.util.List<com.yixun.lbx.entity.YxProBreedMedication>
     * @apiNote getSearchListByPage
     */
    List<YxProBreedMedication> getSearchListByPage(HashMap<String, String> map);
}
